<template>
  <div id="app">
    <div>
      <video poster="@/assets/logo.png" id="bgvid" playsinline autoplay muted loop>
        <source src="http://server.forgirl.top/reoleimu.mp4" type="video/mp4">
      </video>
    </div>

    <router-view />

    <el-backtop :visibility-height="1"></el-backtop>
  </div>
</template>

<script>
  export default {
    name: 'App'
  }
</script>

<style>
  video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -9999;
    opacity: 0.5;
  }

  #app {
    /* font-family: 'Avenir', Helvetica, Arial, sans-serif; */
    font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", 华文细黑, STHeiti, MingLiu;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }

  html {
    /* 不超过页面时显示空的滚动条，使组件间的切换流畅一点 */
    overflow-y: scroll;
  }
</style>
